package com.apexedu.biz.entity;

import javax.persistence.*;

/**
 * TUserRoleTemp entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Table(name="T_USER_ROLE_TEMP")
@Entity
public class TUserRoleTemp implements java.io.Serializable{

	// Fields

	private String wid;
	private String roleid;
	private String rolename;
	private String belongtoapp;
	private String memo;
	private String state;

	// Constructors

	/** default constructor */
	public TUserRoleTemp() {
	}

	/** minimal constructor */
	public TUserRoleTemp(String wid) {
		this.wid = wid;
	}

	/** full constructor */
	public TUserRoleTemp(String wid, String roleid, String rolename,
			String belongtoapp, String memo, String state) {
		this.wid = wid;
		this.roleid = roleid;
		this.rolename = rolename;
		this.belongtoapp = belongtoapp;
		this.memo = memo;
		this.state = state;
	}

	// Property accessors
    @Column(name = "WID")
    @Id
	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}
    @Column(name = "ROLEID")
    @Basic
	public String getRoleid() {
		return this.roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}
    @Column(name = "ROLENAME")
    @Basic
	public String getRolename() {
		return this.rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
    @Column(name = "BELONGTOAPP")
    @Basic
	public String getBelongtoapp() {
		return this.belongtoapp;
	}

	public void setBelongtoapp(String belongtoapp) {
		this.belongtoapp = belongtoapp;
	}
    @Column(name = "MEMO")
    @Basic
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
    @javax.persistence.Column(name = "STATE")
    @Basic
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

}